package cn.jizi.bshisy.mapper;

import cn.jizi.bshisy.entity.PayItems;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 收费接口
 */
public interface PayItemsMapper {
    //病人收费处交费接口
    int getAddPayItems(PayItems payItems);

    //根据收费项目类型，病人姓名查询
    List<PayItems> getPageListPayItems(@Param("pname") String pname,
                                       @Param("sname") String sname,
                                       @Param("from") Integer currentPageNo,
                                       @Param("pageSize") Integer pageSize);
    int getPageListPayItemsCount(@Param("pname") String pname, @Param("sname") String sname);


}
